package com.sakura.mall.order.orderReturnReason.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.orderReturnReason.domain.entity.OrderReturnReasonEntity;
import com.sakura.mall.order.orderReturnReason.domain.request.AddOrderReturnReasonRequest;
import com.sakura.mall.order.orderReturnReason.domain.request.UpdateOrderReturnReasonRequest;
import com.sakura.mall.order.orderReturnReason.domain.request.OrderReturnReasonPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.orderReturnReason.domain.vo.OrderReturnReasonVo;

/**
 * 退货原因 service
 *
 * @author sakura
 */
public interface OrderReturnReasonService extends IService<OrderReturnReasonEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<OrderReturnReasonVo> queryPage(OrderReturnReasonPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddOrderReturnReasonRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateOrderReturnReasonRequest request);
}
